package config

const (
	LiveStreamConst = "live_stream"
	QuizConst       = "quiz"
)

const (
	BeforeJoinRoom = "Group.CallbackBeforeApplyJoinGroup" // 加群之前回调
	RoomBeforeMsg  = "Group.CallbackBeforeSendMsg"        // 群内发言之前回调
	RoomAfterMsg   = "Group.CallbackAfterSendMsg"         // 群内发言之后回调
	C2CBeforeMsg   = "C2C.CallbackBeforeSendMsg"          // 发单聊消息之前回调
	QuitRoom       = "Group.CallbackAfterMemberExit"      // 退出直播群
	StateChange    = "State.StateChange"                  // 直播群在线状态回调
)

type (
	RoomConfig struct {
		GiftFactor     int    `json:"gift_factor"`
		GiftTime       int    `json:"gift_time"`
		Populaarsuse   int    `json:"populaarsuse"`
		SumbumistegurK int    `json:"sumbumistegur_k"`
		Rand           int    `json:"rand"`
		Status         uint8  `json:"status"`
		LiveId         int    `json:"liveid"`
		AnchorName     string `json:"anchorName"`
		MatchId        int    `json:"matchid"`
		OfficialType   uint8  `json:"official_type"`
	}
)
